package com.mall.admin.service;

import com.mall.domain.OmsOrderSetting;
import com.mall.interface1.api.OmsOrderSettingApi;
import org.apache.dubbo.config.annotation.DubboReference;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

@Service
public class OmsOrderSettingService {

    @DubboReference
    private OmsOrderSettingApi omsOrderSettingApi;

    //获取指定订单设置
    public OmsOrderSetting findSetting(Long id) {
        return omsOrderSettingApi.findById(id);
    }
}
